package com.shopping.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping("/")
    /**
     * 返回一个字符串
     */
    public String role() {
        return "hello word";
    }
}
